package com.mask.im.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mask.im.business.model.entity.Notify;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NotifyMapper extends BaseMapper<Notify> {

	List<Notify> getUserNotify(@Param("userInfoId") Integer userInfoId);

	Integer getAdminNotifyCount(@Param("id") Integer id,
	                            @Param("title") String keywords);
}

